<template>
  <div>
    <mt-swipe :speed="800">
      <mt-swipe-item v-for="(item, index) in bannerList"
                     :key="index">
        <img :src="item">
      </mt-swipe-item>
    </mt-swipe>
  </div>
</template>

<script>
export default {
  props: ['bannerList']
}
</script>

<style lang="scss" scoped>
.mint-swipe {
  height: 200px;
  .mint-swipe-item {
    text-align: center;
    img {
      width: 100%;
      height: 100%;
    }
  }
}
</style>